package xyz.zhzby.cyzx.oj.service;

import xyz.zhzby.cyzx.oj.entity.ProblemCategory;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 * 试题与试题分类关联表 服务类
 * </p>
 *
 * @author zby
 * @since 2021-12-26
 */
public interface IProblemCategoryService extends IService<ProblemCategory> {

    void linkProblemCategory(Long id, List<Long> categoryIds);

    List<Long> getProblemIdsByCategoryId(Long categoryID);
}
